﻿Ext.Interaction = Ext.extend(Ext.util.Observable, {

    controller: '',


    action: '',






    dispatched: false,

    constructor: function (config) {
        Ext.Interaction.superclass.constructor.apply(this, arguments);

        config = config || {};

        Ext.applyIf(config, {
            scope: this
        });

        Ext.apply(this, config);

        // 拿到控制器
        if (typeof this.controller == 'string') {
            this.controller = Ext.ControllerManager.get(this.controller);
        }
    }
});